<md-toolbar class="primary">
  <div class="parent">
    <div class="warp-left">
      <div (click)="backIndex()"></div>
      项目量化管理系统
    </div>
    <div class="warp-right">
        <ul>
          <li *ngIf="!user" (click)="login()" class="ul-li">登录</li>
          <li *ngIf="user" (click)="logout()" class="ul-li">退出</li>
          <li *ngIf="user"  class="ul-li-one">
               <span>{{user.name}}</span>
          </li>
           <li class="ul-li-two">
               <img src="assets/images/top-right-1.png" style="padding-top: 10px"/>
           </li>
       </ul>
    </div>
</div>
</md-toolbar>
